/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.gebze.Util;

import java.io.InputStream;
import java.io.OutputStream;

/**
 * Server tarafından her client için dinleme clası
 * @author Özcan ÇAĞIRICI <ozcanca@gebze.bel.tr>
 */
public class GbzScannerClientHandler
        extends Thread {

    private InputStream in;
    private OutputStream out;
    private transient boolean connected = true;

    public GbzScannerClientHandler(InputStream ins, OutputStream outs) {
        in = ins;
        out = outs;
    }

    @Override
    public void run() {
        while (connected) {
        }
    }

    public InputStream getIn() {
        return in;
    }

    public OutputStream getOut() {
        return out;
    }

    public boolean isConnected() {
        return connected;
    }

    public void setConnected(boolean connected) {
        this.connected = connected;
    }
}
